const serviceCommon = require('../util/serviceCommon');
const corporationDao = require('../dao/corporationDao');

const service = {
    handleGetInformation: async () => {
        let result;
        result = await serviceCommon.getListMethod(corporationDao, 'handleGetInformation');
        return result;
    },
    handleEditInformation: async (data) => {
        let result;
        result = await serviceCommon.editDataMethod(corporationDao, 'handleEditInformation', data);
        return result;
    }
};
module.exports = service;